home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / gnustuff / minix / update~4.z / update~4 / lib_stdio_fputc.c < prev    next >
Encoding:
C/C++ Source or Header  |  1989-09-06  |  441 b   |  28 lines

  1. /*            f p u t c
  2.  *
  3.  * This is putc wrapped inside a function. This behaves like
  4.  * putc but runs more slowly. It takes less space per invocation
  5.  * and its name can be passed as an argument to a function.
  6.  *
  7.  * The function returns the character output on success and
  8.  * EOF on failure.
  9.  *
  10.  * Patchlevel 1.0
  11.  *
  12.  * Edit History:
  13.  */
  14.  
  15. #include "stdiolib.h"
  16.  
  17. /*LINTLIBRARY*/
  18.  
  19. int fputc(ch, iop)
  20.  
  21. int ch;
  22. FILE *iop;
  23.  
  24. {
  25.   return putc(ch, iop);
  26. }
  27.  
  28.